# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'C:\Users\qhm\Desktop\DataStructureCourseDesign2010\data-structure-course-design-2010\ReplaceDialog.ui'
#
# Created: Mon Sep 27 11:28:13 2010
#      by: PyQt4 UI code generator 4.7.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(300, 150)
        Dialog.setMinimumSize(QtCore.QSize(300, 150))
        Dialog.setAutoFillBackground(False)
        Dialog.setSizeGripEnabled(False)
        Dialog.setModal(False)
        self.formLayout_2 = QtGui.QFormLayout(Dialog)
        self.formLayout_2.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout_2.setObjectName("formLayout_2")
        self.labelReplace = QtGui.QLabel(Dialog)
        self.labelReplace.setObjectName("labelReplace")
        self.formLayout_2.setWidget(2, QtGui.QFormLayout.LabelRole, self.labelReplace)
        self.labelFind = QtGui.QLabel(Dialog)
        self.labelFind.setObjectName("labelFind")
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.LabelRole, self.labelFind)
        self.txt_find = QtGui.QLineEdit(Dialog)
        self.txt_find.setObjectName("txt_find")
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.FieldRole, self.txt_find)
        self.txt_replace = QtGui.QLineEdit(Dialog)
        self.txt_replace.setObjectName("txt_replace")
        self.formLayout_2.setWidget(2, QtGui.QFormLayout.FieldRole, self.txt_replace)
        self.buttonBox = QtGui.QDialogButtonBox(Dialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.formLayout_2.setWidget(5, QtGui.QFormLayout.FieldRole, self.buttonBox)
        self.cb_ReplaceAll = QtGui.QCheckBox(Dialog)
        self.cb_ReplaceAll.setObjectName("cb_ReplaceAll")
        self.formLayout_2.setWidget(4, QtGui.QFormLayout.FieldRole, self.cb_ReplaceAll)

        self.retranslateUi(Dialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), Dialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), Dialog.reject)
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Replace", None, QtGui.QApplication.UnicodeUTF8))
        self.labelReplace.setText(QtGui.QApplication.translate("Dialog", "Replace:", None, QtGui.QApplication.UnicodeUTF8))
        self.labelFind.setText(QtGui.QApplication.translate("Dialog", "Find:", None, QtGui.QApplication.UnicodeUTF8))
        self.cb_ReplaceAll.setText(QtGui.QApplication.translate("Dialog", "Reaplace All", None, QtGui.QApplication.UnicodeUTF8))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    Dialog = QtGui.QDialog()
    ui = Ui_Dialog()
    ui.setupUi(Dialog)
    Dialog.show()
    sys.exit(app.exec_())

